/*
 * DataDictEntity.java
 *
 * 功  能：
 * 类  名：DataDictEntity
 * 版权所有：中兴（沈阳）金融科技有限公司
 *
 *   版本        变更日期             作者      变更内容
 * ────────────────────────────
 *   V1.0        2016年6月24日    hanyx      新建
*/
package org.agile4j.easypoi.entity;

import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * 描述：
 * @author hanyx
 * @version 1.0
 */
public class DataDictEntity implements Serializable{
	@Excel(name = "ID", orderNum = "0")
	private String id ;
	
	@Excel(name = "中文描述", orderNum = "1")
	private String desc ;
	
	@Excel(name = "类别",replace = { "枚举类型_0", "基本类型_1" }, orderNum = "2")
	private String dataType ;
	
	@Excel(name = "枚举ID", orderNum = "3")
	private String enumTypeId ;
	
	@Excel(name = "数据类型", orderNum = "4")
	private String baseTypeId ;
	
	private String type ;

	private String maxLength ;
	
	private String minLength ;
	
	private String scale ;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @param desc the desc to set
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the enumTypeId
	 */
	public String getEnumTypeId() {
		return enumTypeId;
	}

	/**
	 * @param enumTypeId the enumTypeId to set
	 */
	public void setEnumTypeId(String enumTypeId) {
		this.enumTypeId = enumTypeId;
	}

	/**
	 * @return the baseTypeId
	 */
	public String getBaseTypeId() {
		return baseTypeId;
	}

	/**
	 * @param baseTypeId the baseTypeId to set
	 */
	public void setBaseTypeId(String baseTypeId) {
		this.baseTypeId = baseTypeId;
	}

	/**
	 * @return the dataType
	 */
	public String getDataType() {
		return dataType;
	}

	/**
	 * @param dataType the dataType to set
	 */
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	/**
	 * @return the maxLength
	 */
	public String getMaxLength() {
		return maxLength;
	}

	/**
	 * @param maxLength the maxLength to set
	 */
	public void setMaxLength(String maxLength) {
		this.maxLength = maxLength;
	}

	/**
	 * @return the minLength
	 */
	public String getMinLength() {
		return minLength;
	}

	/**
	 * @param minLength the minLength to set
	 */
	public void setMinLength(String minLength) {
		this.minLength = minLength;
	}

	/**
	 * @return the scale
	 */
	public String getScale() {
		return scale;
	}

	/**
	 * @param scale the scale to set
	 */
	public void setScale(String scale) {
		this.scale = scale;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "DataDictEntity [id=" + id + ", desc=" + desc + ", type=" + type + ", enumTypeId=" + enumTypeId + ", baseTypeId=" + baseTypeId + ", dataType=" + dataType + ", maxLength=" + maxLength + ", minLength=" + minLength + ", scale=" + scale + "]";
	}
	
}
